package cn.abcsys.cloud.devops.monitor.entity;

public class AppResource {
	private Long id; // 主键ID

	private Long appId;// APP应用ID

	private String appName;// APP名称

	private Double appCpu;// APP的CPU消耗

	private Double appMem;// APP的MEM消耗

	private Long envId;// 就是application_runtime_id 环境ID

	public AppResource(Long appId, String appName, Double appCpu, Double appMem, Long envId) {
		super();
		this.appId = appId;
		this.appName = appName;
		this.appCpu = appCpu;
		this.appMem = appMem;
		this.envId = envId;
	}

	public AppResource() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAppId() {
		return appId;
	}

	public void setAppId(Long appId) {
		this.appId = appId;
	}

	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	public Double getAppCpu() {
		return appCpu;
	}

	public void setAppCpu(Double appCpu) {
		this.appCpu = appCpu;
	}

	public Double getAppMem() {
		return appMem;
	}

	public void setAppMem(Double appMem) {
		this.appMem = appMem;
	}

	public Long getEnvId() {
		return envId;
	}

	public void setEnvId(Long envId) {
		this.envId = envId;
	}
}